﻿@{
    Layout = null;

    List<NewsMine.DomainObjects.WebSiteInfo> websitesTemp = new List<NewsMine.DomainObjects.WebSiteInfo>();

    websitesTemp = ((QResult)Model).Websites;

    var languages = WebApp1.Models.LanguageModel.GetAllLanguages();

        //layout : 179 + 544 + 244
}
<ul class="nav nav-pills">
    @{
       
        foreach (var lang in languages)
        {
            <div>
      <h1>@lang.LocalName</h1>
           
                @foreach (var website in websitesTemp)
                {
                    if (!string.IsNullOrEmpty(website.Language) && website.Language.ToLower() == lang.Name.ToLower().ToString())
                    {
                                
                    <li><a href="/source/@website.Domain" >
                        <img src='https://plus.google.com/_/favicon?alt=feed&domain=@website.Domain ' style="padding-right:5px;"/>@Html.Raw(website.Name)
                    </a></li>
                        
                    }
                }

            </div>
        }

        
        
    }
</ul>
